﻿using project1113;
using project1113.FSM;
using project1113.Wrold;
using System;
using static project1113.MainWindow;

public class SafeState : FsmState
{
    FsmState _content;
    public SafeState(FsmState content) : base("safe")
    {
        _content = content;
    }
    public override void Init()
    {
        WorldModel.CurrentWorld.TTS.Speak("好的");


       // throw new NotImplementedException();
    }
    public override void DoSomething()
    {
        DisplayHelper.LoadPage("ChatPage");
        //throw new NotImplementedException();
    }
    public override FsmState GetNextState()
    {
        return _content;
    }
}